package com.ruoyi.web.dorm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RepairRegistrationEntity {
    // id
    @Excel(name = "id", width = 15)
    private Long id;

    // 宿舍id 查宿舍编号 宿舍楼
    private Long dormId;

    @Excel(name = "宿舍门牌号", width = 15)
    private Long dormNum;
    @Excel(name = "楼号", width = 15)
    private String dormArea;

    // 维修人员
    @Excel(name = "维修人员", width = 15)
    private String maintainer;

    // 报修原因
    @Excel(name = "报修原因", width = 30)
    private String reason;

    // 创建者

    private String createBy;

    // 创建时间
    @Excel(name = "报修时间", width = 20, dateFormat = "yyyy年MM月dd日")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date createTime;

    // 更新者

    private String updateBy;

    // 更新时间
    @Excel(name = "更新时间", width = 20, dateFormat = "yyyy年MM月dd日")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date updateTime;

    // 删除标志（0代表存在 1代表删除）
    private String delFlag;
}
